'use strict';
/**
 * Created by deng on 16-1-19.
 */
angular.module('metalabOperationApp').config(['$stateProvider', function($stateProvider) {

    $stateProvider
        .state('meta.permission.development', {
            url: '/development',
            abstract: true,
            views: {
                'content': {
                    templateUrl: 'views/permission/common/content.html'
                },
                'header@meta.permission.development': {
                    templateUrl: 'views/permission/development/header.html'
                },
                'body@meta.permission.development': {
                    templateUrl: 'views/permission/development/content.html'
                }
            }
        })
        .state('meta.permission.development.code', {
            url: '/code',
            views: {
                'doc@meta.permission.development': {
                    templateUrl: 'views/permission/development/code.html'
                },
                'nav@meta.permission.development': {
                    templateUrl: 'views/permission/development/codenav.html'
                }
            }
        })
        .state('meta.permission.development.scss', {
            url: '/scss',
            views: {
                'doc@meta.permission.development': {
                    templateUrl: 'views/permission/development/scss.html'
                },
                'nav@meta.permission.development': {
                    templateUrl: 'views/permission/development/scssnav.html'
                }
            }
        })
        .state('meta.permission.development.js', {
            url: '/js',
            views: {
                'doc@meta.permission.development': {
                    templateUrl: 'views/permission/development/js.html'
                },
                'nav@meta.permission.development': {
                    templateUrl: 'views/permission/development/jsnav.html'
                }
            }
        });
}]);
